package com.fastloan.mgt.application.approve.service;

import com.kawins.base.BaseService;
import com.fastloan.mgt.application.approve.model.ApplicationApproveFile;
import com.kawins.supers.file.core.FileLoadBean;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Set;

/**
 * @author admins
 * createTime 2017/11/09
 */
public interface ApplicationApproveFileService extends BaseService<ApplicationApproveFile> {

    List<FileLoadBean> uploadApproveFiles(String appApproveId, MultipartFile[] files);

    Integer deleteApproveFiles(String appApproveId, String fileId);

    /**
     * 根据进件id获取审批文件id
     *
     * @param applicationId
     * @return
     */
    List<String> getApproveFileIds(String applicationId);
}
